import request from '../ApiConfig/index.js'
export const decTitle = (data) => {
  return request({
    url: '/data/dectitle',
    method: 'post',
    data,
  })
}

export const titleAll = (userName) => {
  return request({
    url: '/data/titleAll',
    method: 'get',
    params: {
      userName,
    },
  })
}